LassoScript Utility
Basics Browse Detail

[Tag->asType]

Tag Link [Tag->asType] Category Tags
Type Member Source Available No
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type Any Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

Description

The [Tag->asType] tag can be used to execute a tag or compound expression which returns a new data type instance. Calling this tag is equivalent to calling a data type creator tag directly.

Syntax

[Tags->(Find: 'tagname')->(AsType)]

[Array->(Properties->Second->(Find: 'tagname')->(AsType)]

[{ Return: 'Value' }->(AsType)]

[Variable: 'myExpression' = { Return: 'Value' }]
[Output: $myExpression->(AsType)]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.